package com.linfeng.business.admin.aggregate.callback;

import com.linfeng.business.admin.aggregate.AdminAggregateRoot;
import com.linfeng.business.admin.dto.data.admin.SysAdminDTO;
import com.linfeng.component.common.response.ResponseEntity;
import org.springframework.stereotype.Component;

@Component
public class AdminAggregateRootCallback implements AdminAggregateRoot {

    @Override
    public ResponseEntity<SysAdminDTO> detailByLoginName(String loginName) {

        return ResponseEntity.body(new SysAdminDTO());
    }
}
